<?php
class banner {
	private $id;
	private $name;
	private $description;
	private $image;
	private $date_start;
	private $date_end;
	private $location;
	private $link;
	private $type;
	private $status;
	private $num_click;
	private $url_rewrite;
	

	public function setid($id) {
		$this->id = $id;
	}
	public function getid() {
		return $this->id;
	}
	// set get name
	public function setname($name) {
		$this->name = $name;
	}
	public function getname() {
		return $this->name;
	}
	// set get description
	public function setdescription($description) {
		$this->description = $description;
	}
	public function getdescription() {
		return $this->description;
	}
	// 	set get image
	public function setimage($image) {
		$this->image = $image;
	}
	public function getimage() {
		return $this->image;
	}
	// set get date_start
	public function setdate_start($date_start) {
		$this->date_start = $date_start;
	}
	public function getdate_start() {
		return $this->date_start;
	}
	// set get date_end
	public function setdate_end($date_end) {
		$this->date_end = $date_end;
	}
	public function getdate_end() {
		return $this->date_end;
	}
	// set get location
	public function setlocation($location) {
		$this->location = $location;
	}
	public function getlocation() {
		return $this->location;
	}
	// set get link
	public function setlink($link) {
		$this->link = $link;
	}
	public function getlink() {
		return $this->link;
	}
	// set get type
	public function settype($type) {
		$this->type = $type;
	}
	public function gettype() {
		return $this->type;
	}
	// set get status
	public function setstatus($status) {
		$this->status = $status;
	}
	public function getstatus() {
		return $this->status;
	}
	// set get num_click
	public function setnum_click($num_click) {
		$this->num_click = $num_click;
	}
	public function getnum_click() {
		return $this->num_click;
	}

	// set get url_rewrite
	public function setrewrite($url_rewrite) {
		$this->url_rewrite = $url_rewrite;
	}
	public function getrewrite() {
		return $this->url_rewrite;
	}
	
}
?>